package com.hippy.erya.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.util.Date;

@Data
@Builder
@ToString(callSuper = true)
@TableName("T_RAW_MATERIAL")
@NoArgsConstructor
@AllArgsConstructor
public class RawMaterialDO extends BaseDO {

    private String materialCode;

    private double buyQuantity;

    private String buyChannel;

    private double unitPrice;

    private Date buyDate;

    private String supplier;

    private String userCode;

    private double totalPrice;

    private String extraDesc;

    private double unitPricePergram;

    @TableField(exist = false)
    private String materialName;
}
